implemented seek frame function in video class