fixed play next track when it's the last one
play previous track logic