respect aspect ratio and add rotation tools