sforce.one.navigateToSObject not working

in Salesforce 1 its not redirecting to the correct record page in Salesforce 1 but is instead redirecting to the Standard Salesforce Web Browser version of the page. Here is the code: ...