added pagination; needs styling properly as I don't understand the reset styles :(