fix search box style and add paging controls