Made next and previous buttons on player bar work