updated glapp of cartpole visualization