make buttons not overlap when in tiny window