Fixed pagination buttons linking to home page