adding support for landscape orientation