Extended version of original stickytableheaders by jmosbech with support for multiple table heads