Split JS into scroll and swipe
Animate on initial slide detection

If we don't we end up with updated variables but not with an updated
view (not updated scroll position). Fix for c559177.