add mobile detection on effect