better label positioning in timeline