Thanks, following on from that, i see there is an animate option, I have tried all of these but none appear to work:
$('body').layout('collapse', 'west','animate');
$('body').layout('collapse', 'west',true);
$('body').layout('collapse', 'west','slide');
$('body').layout('collapse', 'west',500);
The panel just collapses immediately with no animations.