Perhaps I'm misunderstanding what this is supposed to do, but when I have wrap set to both I was expecting that both the previous and next buttons would become inactive (when you're at either the beginning or end of the list). Is this not what wrap: 'both' is supposed to do? If not, is there a way to do what I'm describing?
Also, is there a way to make it circular so that if you click the previous button on the first item it would scroll to the left (items scroll in from the left) and the reverse at the end?