fix js for stacked inline
Merge branch 'collapse'