iOS 7 compatibility (now fully functional for browsers that understand scroll event)