added option to stop expand from js 

ex: element.bsPanel (
 {
expandable:false
});