start of delete image code[BUGGY]; css tweaks