Added paging JS

Bind a click to the anchors in the tab-bar, then prevent the default
action of a link, store the href of the clicked link in a nextPage
variable, remove the current class from the current page and finally
add the class to the clicked page.