recalculate sticky table head after each re-insertion