moved selection logic to the collection
use key prop so react isn't confused by a resort
Merge pull request #10 from yazaddaruvala/master

Small refactor to be more React-y.