Fractional Schrödinger equation for a particle moving in a potential well