Rewrote the obstacle falling code