Detecting scroll, visit actions