added arrow icons
implemented pagination