Updated to properly move between images