fix thumbnail CSS in gridview for small pages