made next and previous buttons on player-bar work