trying new approach for scroll event