adding in jquery to resize divs to fit width and height