This function toggles between normal and full screen mode.