Bootstrap Vertical Menu Tabs - Javascript ScrollTop

I have a vertical left-side tab menu set up using bootstrap. Please see the link below:

Some of the tabs are long ... when a tab gets in sight, it would be great to have it scroll up when someone clicks it. I'm trying to add some javascript to have the page scrolltop whenever a tab is clicked but I can't seem to get it to work.

Any help would be greatly appreciated.