Added checking for navigator for vibration