optimize cpu usage when no animation or interaction is going on