Creating custom transition timing