fixing aspect ratio of gif previews