added autohide setting to header, fixed drawer init problem