added bootstrap pagination to view helper