Attachs keypress events to right and left arrows for navigation
The url is now updated after the page changed