My url looks like
domain.com/images#style=2
The hash is there so a user can filter options without a page refresh and still be able to use the back button for previous search result.
When I generate pagination with ajax and go to the page the hash '#style=2' gets removed. How can I keep the hash part?