Generates a random number. Higher lower buttons are hidden.