Expand div on x & y axis

Expand div on x & y axis

Hi,

I am creating a layout with masonry, and would like when a user clicks on a div the div expands/collapses on both the x & y axis. I can't seem to find the right jquery plugin that allows this. Most seem to be accordion based and only expand one direction.

Thoughts?

Thanks!