fix scrollbar handling
closes #6