Fix layout of search bar

Also moved pagination buttons left.