Added Rotation Initialization to navigationApi.js