top and bottom buttons, fixes #6559