pill with animation