scroll to middle when traversing