fix bug with slow vertical scrollbar