added pagination parameters to url and pagination now triggers scroll to top