fixed all header related bugs
active/inactive sidebar