fixed visibility of scrollbar in counting