Fixed issue #487: bookmark popup displayed too briefly.
Fixing layout issues caused by jQuery Mobile upgrade.