Added check if player walks over start or endline