Refactoring of the slider for improved performance. Removed animation via request animation frame (for snapping) and now applying this using CSS transitions.