Get horizontal collision detection working