basic svg animation of the open/close