maintaining aspect ratio

Signed-off-by: Thejasvi Bhat <thejasvi@smashed.in>