Set the .to_ and .from_ classes prior to starting the transition.

This allows more flexibility in controlling different transitions for different pages.
Version bump.