updated css and added pagination