implemented cleaner and more robust paging system
only implemented on smilesIndex