Fixed the header resizing
Resizing is fully operationl