preserve aspect ratio on resize

Signed-off-by: Andreas Zöllner <andi@go-for-fun.de>