fixing bug where header buttons stack on short widths