Add ability to use mobile template when user agent is found to be a mobile device