fix paging of front page