Refactor responsive list styling into a helper fragment