added ability to change paginates_per amount