JIN-45 Fix new demo display on android.

Rewrote code to reposition the result database so that it keeps track
of wide/narrow-screen modes and the floating status separately.