While exporting in pdf, the timeline diagram layout changes