positioning anchors and implementing smooth scrolling