Make the collapse/expand callback return a value used to collapse/expand
Update callback call to be able to inhibate some effects
Update libs in demo