added support for ipad with split screen