title: Collapse a div using jquery
body: <p>I have 2 divs side by side divA and divB. I have a maximize button on top of divB.
  When I click on button on divB, the divB should occupy the space of divA and become bigger, divA should be collapsed.
  While clicking once again , it should be restored to normal size.
  How to get this functionality using jquery?</p>