Make main page and pagination responsive