making the timeline responsive