adjusting the aspect ratio