Mangia: 'Palermo deserved to win'