add thumbnail preview while preparing mp, but transition between image and video is not smooth