Adding the ability to set the "show" and "hide" animations duration.

Adding the ability to set the "show" and "hide" animations duration.
Default values are still 0.3 for both.