use styleHelper to compute dynamic thumbnail height.