calculate the animation params for different screens.