fix scrollbar induced bug on top