Fixed avatar thumbnail size calculation
Added framed class