added fix for iPads in landscape