trying to maintain aspect ratio for video