Resolved mobile to desktop transition glitch. Minor code cleanup.