Style changes to the advanced search page

Also fixed pagination