fix scroll bar dragging