Audio App forward rewind scrolling

Any ideas on how in the juce framework using the Audio transport source a forward rewind toggle could be implemented a basic fast forward rewind set of functions or a scrolling toggle the kind you might find on some DJ app
Also tried using

AudioTransportSource transport;
transport.setPosition(slider.getValue());
slider.setValue(transport.getCurrentPosition());
Thought I might end with that toggle functionality
But nothing