solved selection with scrolling issue