Take advantage of jQuery when collapsing panels
Relocate panel toggle button
Make collapse algorithm smarter