scroll animation start logic