Combined next, prev, centerInitial functions in one.