using img tags rather than css backgrounds
another stab at auto scaling