Fix jQuery handling of the site scrolling