Replaces the #anchors with a smooth scrolling functionality with speed control