jQuery plugin to keep an element scaled and centered optimally within it's parent