add scroll buttons that appear in the production palette when icons exceed available space

Closes #7159
Move the comment above the `if` and start it with a capital letter.