improved tutorial fragment loading
improved velocity update function