added pagination
added arrows and simplified