added some logic to hold timeline position after pause/resume/refresh