Adding events to front page slider