Add doc string
Fix a bug that stop moving if user type really fast #2