A CodePen by Matt Litherland. Smooth Anchor Scrolling - I have coded this pen to avoid using a heavy plugin for smooth anchor scrolling. With the example provided you are able to switch navigation 'active' class and scroll smoothly to id's throughout the page. I have also tweaked the code to allow for linking to id's from outside the main navigation. 

If you like this code; please follow me on Twitter http://twitter.com/mattsince87