Bug 1058748 - Fix gallery preview on tablet

- Fix header action and back button