Implements avatar resize