fix scroll bar bug