small update

get plank image width and use it in calculating random x
make sure figure x velocity is bigger than 100