Allow video re-size to custom dimensions, and enable scaling down video preserving aspect ratio