added category page. Also made a pagination js file to be used by all app.