Move parallax control JS code into its own file

More house cleaning.