That doesn't seem to work for me. The image only moves just ever so slightly, no matter how much I pan back and forth, on both the lock and home screen.
You have to go to Settings > Wallpapers and under Photos, there will be an option to Panoramas. If you set any other way, it just moves as a standard background.