Added lockOrientation