Fix events slider

Code reverted for some reason. Fix for #171