directive for scrolling to anchors