size thumbnail according graph border box
update view based on graph border box
add note to clearup code