scale time delta correctly