fixing thumbnail styles