Allow taking a custom update handler in the automaton setup function.

This will make it somewhat less ugly to implement the scroll-to-slow behavior I want on the homepage.
Recalculate parallaxy stuff on resize.
Move the slowdown automaton update handler to its own file.