more fixes on tablet mode of gallery theme mobile