add animation frame scaling
create a new framework for animation functions