Modify the width of thumbnail to keep aspect ratio.