Add animation for list/grid view.