Added ability to have gallery split menu