added collision detection
fixed bugs in collision detection
changed camera transition when moving to stopping
added coloring for collision detection to debug