scroll to selected if needed