Updated and refactored front end files with subtitle text animation