add functionality to playbar and imporved documentation