refs #1654 : bugfix - mobile mode is now correctly recognized.

 -