Fixed view menu toggles

you can now close windows from the toggle