Added stop animation feature when sensor down