jQuery plugin that allows resizing of an image preserving aspect ratio, fitting a container