new panel animation class