fixes scrollbar flickering