screen orientation and change layouts now works