paginate in story api
frontend pagination of the api
fixes the upper bound of the pagination
disable next and previous button if they are out of range
adds a comment page
gets the native back button to work with pagination