You can use a normalized energy approach to solve this quickly: if velocity drops to $\frac{1}{4}$, the kinetic energy drops to $(\frac{1}{4})^2 = \frac{1}{16}$ of the total energy. Since total energy is conserved ($K + U = 1$), the potential energy must make up the remaining fraction: $U = 1 - \frac{1}{16} = \frac{15}{16}$. Since potential energy scales with $x^2$, the displacement must be $\sqrt{\frac{15}{16}}A = \frac{\sqrt{15}}{4}A$.