Fixed jarring animation transition on last slide in the jQuery fallback method