Massively simplified the fixed/relative position function for chapter headers