moving some classes from iframe to component