cleanup parallax code