Improving right and left collision detection
Adding collision detection for rotation