Make the menu item toggle the view