Simplify parallax image code.