fixes #11, update viewport config after resize()
Merge pull request #12 from ixisio/hotfix-#47

fix(core): fixes #11, update viewport config after resize()