Fixed afterSLide event to fire AFTER the slide

Using beforeSlide for everything that meant to happen on slide