issue #21: add constraint to crop according to aspect ratio. layout first only