Fix expanded images width to prevent horizontal scrollbar