Update thumbnail style only when visible