added support stopping the previous slide animations