Prevent resize on scroll on mobile

Both Chrome on Android and mobile Safari will trigger a resize event on each scroll.
This changes insure to not bind any resize event handler on mobile.