basic implementation of parallax effect using JS