handling fullscreen mode better