new collaption logic - need to fix render image for collapsion!