added full screen mode, but need to test - when switching view with invisible panel, it breaks