Tried it out in Firebug, and this seems like it should fix #990.
Merge pull request #1003 from afred/thumbnail-overflow-990

Tried it out in Firebug, and this seems like it should fix #990.