Add animations for fraction slider