locking device orientation
small change to didMoveToSuperview