Add transition to header shrink