fix to scrollbar bug