(this is an expansion of a previous example)
I took this one a little further; now, clicking the expanded div, brings everything back to normal