Implemented new pagination buttons