Fix scope of accordion event binding.