improved code of parallax-scroll-v2