Adding the remove current view to the router, and fixing a bug where when shifting the page number would turn to a string