update screen orientation