Move pagination to right under the header and fix its position