Add animation to widgets