example added
window resize added