Add pause/resume to player text view

- track the current index in subtitle
- track the elapsed time just like timer
- extract player callback into it's own function