#23: fixing removal of gallery controls