Updated to v1.2.5

Updated plugin to v1.2.5, mostly involved fixing timing issues. Instead
of relying on the transitionend event that lacks cross-browser
compatibility and standardisation, I have chosen to fall back to JS’
native setTimeout and clearTimeout functions.