print progress on single line