Solution for Roman Nurik's DoneBar.