a factory which creates function for moving the backpanel a screen width or height at once to achieve a "next page", "previous page" effect