created animations for selected and 'deselecting'