Added animation for panel show/hide.