Added next/previous page buttons for home/category pages