Hide menu when changing page