Fixing accordion events