animation refactor - partial
Panel implementation