scroll container to display selected element