Adding Gallery Mode.