forgot to toggle movingLeftward in collidesWith