dynamic resizing of h&e stain via jquery