Fix events slider

Code reverted for some reason
Merge pull request #172 from adicu/fix-event-slider

Fix events slider