Adjusted pagination to decrease the space the form takes up on very small screens and to put the form between the buttons. Also now works on extremely small screens.