changes to support animate

moved mixin here
moved displays and views set up to animate mixin