Preventing href="#" anchor tag events on paging next or previous buttons.