avoid "jumping" `ul` elements, fixes #278