layout: Simplify logic in layout/animation.rs
layout: Simplify logic in layout/animation.rs

Self-review is helpful it seems.

notriddle/servo,larsbergstrom/servo,saneyuki/servo,avadacatavra/servo,saneyuki/servo,nnethercote/servo,larsbergstrom/servo,emilio/servo,saneyuki/servo,avadacatavra/servo,szeged/servo,eddyb/servo,larsbergstrom/servo,pyfisch/servo,cbrewster/servo,DominoTree/servo,SimonSapin/servo,KiChjang/servo,nnethercote/servo,larsbergstrom/servo,canaltinova/servo,splav/servo,eddyb/servo,fiji-flo/servo,upsuper/servo,peterjoel/servo,notriddle/servo,szeged/servo,anthgur/servo,DominoTree/servo,peterjoel/servo,dsandeephegde/servo,ConnorGBrewster/servo,cbrewster/servo,pyfisch/servo,peterjoel/servo,nnethercote/servo,nnethercote/servo,jimberlage/servo,dsandeephegde/servo,saneyuki/servo,splav/servo,upsuper/servo,avadacatavra/servo,KiChjang/servo,jimberlage/servo,SimonSapin/servo,pyfisch/servo,dati91/servo,paulrouget/servo,notriddle/servo,notriddle/servo,paulrouget/servo,nrc/servo,mattnenterprise/servo,mbrubeck/servo,sadmansk/servo,ConnorGBrewster/servo,KiChjang/servo,mattnenterprise/servo,saneyuki/servo,pyfisch/servo,canaltinova/servo,canaltinova/servo,sadmansk/servo,KiChjang/servo,upsuper/servo,nrc/servo,larsbergstrom/servo,dati91/servo,upsuper/servo,dati91/servo,paulrouget/servo,SimonSapin/servo,jimberlage/servo,DominoTree/servo,szeged/servo,paulrouget/servo,fiji-flo/servo,larsbergstrom/servo,larsbergstrom/servo,pyfisch/servo,nnethercote/servo,dsandeephegde/servo,sadmansk/servo,rnestler/servo,upsuper/servo,cbrewster/servo,dati91/servo,mattnenterprise/servo,ConnorGBrewster/servo,saneyuki/servo,ConnorGBrewster/servo,KiChjang/servo,DominoTree/servo,splav/servo,splav/servo,thiagopnts/servo,thiagopnts/servo,KiChjang/servo,SimonSapin/servo,KiChjang/servo,sadmansk/servo,szeged/servo,eddyb/servo,emilio/servo,pyfisch/servo,splav/servo,eddyb/servo,nrc/servo,anthgur/servo,avadacatavra/servo,peterjoel/servo,peterjoel/servo,sadmansk/servo,dati91/servo,rnestler/servo,emilio/servo,eddyb/servo,ConnorGBrewster/servo,ConnorGBrewster/servo,canaltinova/servo,nnethercote/servo,nrc/servo,pyfisch/servo,peterjoel/servo,eddyb/servo,emilio/servo,nrc/servo,nrc/servo,paulrouget/servo,fiji-flo/servo,peterjoel/servo,nnethercote/servo,splav/servo,pyfisch/servo,pyfisch/servo,CJ8664/servo,jimberlage/servo,pyfisch/servo,SimonSapin/servo,szeged/servo,fiji-flo/servo,thiagopnts/servo,DominoTree/servo,SimonSapin/servo,eddyb/servo,szeged/servo,avadacatavra/servo,KiChjang/servo,notriddle/servo,canaltinova/servo,CJ8664/servo,nnethercote/servo,DominoTree/servo,mbrubeck/servo,emilio/servo,mattnenterprise/servo,CJ8664/servo,jimberlage/servo,CJ8664/servo,paulrouget/servo,mbrubeck/servo,CJ8664/servo,emilio/servo,splav/servo,szeged/servo,mbrubeck/servo,mbrubeck/servo,upsuper/servo,emilio/servo,notriddle/servo,emilio/servo,DominoTree/servo,sadmansk/servo,rnestler/servo,jimberlage/servo,nnethercote/servo,avadacatavra/servo,mattnenterprise/servo,paulrouget/servo,anthgur/servo,anthgur/servo,nnethercote/servo,peterjoel/servo,KiChjang/servo,fiji-flo/servo,thiagopnts/servo,szeged/servo,jimberlage/servo,jimberlage/servo,notriddle/servo,mbrubeck/servo,emilio/servo,fiji-flo/servo,paulrouget/servo,thiagopnts/servo,larsbergstrom/servo,mbrubeck/servo,dati91/servo,sadmansk/servo,mattnenterprise/servo,cbrewster/servo,cbrewster/servo,eddyb/servo,thiagopnts/servo,notriddle/servo,ConnorGBrewster/servo,avadacatavra/servo,dsandeephegde/servo,rnestler/servo,canaltinova/servo,thiagopnts/servo,cbrewster/servo,splav/servo,saneyuki/servo,jimberlage/servo,nrc/servo,mbrubeck/servo,dsandeephegde/servo,dsandeephegde/servo,saneyuki/servo,dsandeephegde/servo,saneyuki/servo,upsuper/servo,anthgur/servo,cbrewster/servo,peterjoel/servo,canaltinova/servo,dsandeephegde/servo,saneyuki/servo,splav/servo,KiChjang/servo,peterjoel/servo,cbrewster/servo,upsuper/servo,anthgur/servo,splav/servo,larsbergstrom/servo,emilio/servo,CJ8664/servo,sadmansk/servo,paulrouget/servo,avadacatavra/servo,canaltinova/servo,anthgur/servo,SimonSapin/servo,anthgur/servo,CJ8664/servo,DominoTree/servo,fiji-flo/servo,DominoTree/servo,DominoTree/servo,rnestler/servo,paulrouget/servo,CJ8664/servo,dati91/servo,mattnenterprise/servo,rnestler/servo,SimonSapin/servo,szeged/servo,thiagopnts/servo,rnestler/servo,dati91/servo,ConnorGBrewster/servo,rnestler/servo,fiji-flo/servo,notriddle/servo,mattnenterprise/servo,notriddle/servo,larsbergstrom/servo,szeged/servo