made header buttons responsive to screen width