no longer utilise getViewbox function