Maternity wear retailer Mothers Work has slimmed down its fourth-quarter loss and swung back to profit in its full year.