added hide on video end