moved devireOrientation listener