Changed scrollspy so that it has our intended behavior

Fixed issues with the scrolling/mouseover/selection mechanisms to support our expected behavior with scrollspy.