Added left/right collision detection