Some iOS (crap OS!) specific fixes and prevent horizontal scroll on window object