Added tweening function

Added tweening function