Added the ability to set height and width percentages independently

latest commit cc32901e6b
@agronick authored