Add maintainAspectRatio option

Set this to `true` and the element will only scale proportionally.
Merge pull request #8 from hzdg/maintainAspectRatio

Add maintainAspectRatio option