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.

--HG--
extra : histedit_source : 57f2e24df677f09120014750f2b8f838decf156b%2C8ad3d39e73c5e6406c161c34e59b4dd7d49ca5d2
Use a shorter favourites text, so that the result box doesn't wrap.
Merge away bogus commit to github.