center buttons when resize