adding active navigator for scroll to top of an element on detect the where scroll stands