scroll-based actions for angularjs