added height fix for ipad