correct position of marker on timeline