Align timing of captions with show/hide controls.

This is a re-work of https://github.com/johndyer/mediaelement/pull/358
Merge pull request #708 from rickharris/master

Align timing of captions with show/hide controls.