implement contacts code from desktop site into mobile site