fixed background scrolling

changed the amount the background moves when it jumps back to the
beginning so that animation looks smooth