implement getInnerHeight in MobileSupport.js