Bug 1058748 - Fix gallery preview on tablet

- Fix header action and back button
Please remove the XXX in this comment. I only use that for things that should be fixed later, and there is nothing that needs to be fixed here. Otherwise the comment is very good.  (But also please change "non-existence" to "non-existent".)