have add the javascript auto hide sidebar code