Added lose conditions if you go too far left or right