fix(directive): observe width & height to handle responsive resizing