make sure to remove active class from non-active slides, closes #2861