SideBySidePreview - rework the Callback to be BeforeResults

Some browsers render the <table> before getting to the <style> block
directly under it, then causing the effect of re-rendering the table
with the new style with some delay affecting the UX.