added element query as a shim and called refresh on resize events
Merge branch 'release/0.2.1'