Added animation effects to panel component