Lightweight demonstration of parallax effect using vanilla js