Make scrolling between anchors smooth