Added animation functions minimize, hide, unhide