Swift 4: scale image to width