added falling event using requestAnimationFrame