implemented seek and slider control