Economy shakes off year-end slump