scrolling for sidebar. fixes #232, #256