Some rudimentary collision detection with left and right walls