Move scroll functionality from Main to Home