if position is not in the beginning -> go to the beginning of the piece if position is at the beginning -> go to previous piece