Allow programming parallax effects in a declarative style