fix on resize
creating resizeTimeline function