hiding buttons, resizing header