Fix inverted segments, block/attached header adjustments, fixes for responsive table headers