adjust page markup. add rotation script.