add scrollbar size option, scrolling logic fix