Can now go back and forth between pages and main menu