Add a helper function to toggle fullscreen state of windows