Now using the autoresize plugin.
Fixing attribute choice issue.