Implementing windowed to fullscreen mechanics