added pagination ad the bottom of the page - making the menu close itself on mobile devices after a click