Fixed mobile to desktop view transition glitch