jquery based mobile switch mechanism for adaptive websites