support animation when button be pressed.