center buttons of slider