Made gallery a class to allow more specific selection of main gallery