apply resizer when element becomes visible