now removes/adds 'default' class so buttons of other gallery do not also get switched