parallax script (after some unity bugs)