fixed warning
fixed syntax and incorrect method name
improved the animations
add a delegate method to catch when a button disappear