refactored some code
next and back pagination links work - need to show limit has been reached message
pagination min and max branching created to prevent going beyond possible search results
styled pagination