Made improvements, including snapping to nearest slide on resize