Tweak to rotate landscape code