Revise gallery animation