Working animation for both simple show hide, and panel-based one