fix scrolling to visible