introduced contentHeight/contentWidth and resize percentage widgets according to this content sizes
Merge branch 'content_dims' into development