Moves a div off the screen and another on, with a function.