Dollar stays near 3-week high after retail sales boost