smooth scrolling of legend. closes #20