In-class parallax and scroll javascript