improved seek(jump) function, fixed video freeze when seeking