Modification adding event after search box
Modification for jumping to last page as default