fixed paging bug about first page button

maximized query input box