move header and flash to _header partial