Collapsed Mode enhancement

hi!

I'm added this useful feature, with css and graphics contents(svg and png)

but I'm not update Gruntfile sorry