more work on bootstrapSwitch