added ipad tilt control
added ipad rotation lock