Added idle function which will be used for creating the animation instead of a static or user initiated display