Minor cleanup of scrollmotion plugin; dynamic determination of scrolling animations.