resize and design avatar