implement scroll to selected value