stop simulation upon reaching maximum canvas width