Corrected the hook where mobile redirection code should go.

references india-standalone-drupal#90