much improved resize tool and some css tweaks