Added animate appear and disappear