This works ok, but feels like quite a long-winded solution creating duplicate content just to apply the sticky header. 

Could the HTML/CSS be reworked so there's less need for DOM acrobatics? :)