added display-width and display-height for animator.