Added IDs to table nav to keep page view on the table instead of scrolling to the top.
Added event prevent default