Make table display in demo respond to width.

For narrow screens put the result table in the page flow
and keep it at the top using javascript.

For wide screens it floats at the right as before.