added auto scrolling to selected item