added automatic timeline event scaling