make sequences functions more intelligent about picking max and min
merge fixed min/max slide code
Merge branch 'master' of https://github.com/nprapps/elections14