polling styling and animation