Wrap thumbnail in div