adding mobile detection