allow button to move from both top and buttom of screen.