jQuery plugin resizes image to fill container element