Added ENDED to checkSeek method

Fixed bug where ENDED event was not triggered.