add values to speed for movement