now respecting a width attribute of the dom element as the desired viewport size