fixing thumbnail sizing problem