Switch to fullscreen mode automatically not working on card layout