Prevented flickering of figcaption on transform of portfolio