added support for landscape devices