When stopping activity, remove animation smoothly