add sidebar canvas

sidebar function and tpl