Added mobile device detection feature