removed recenter from onDeviceReady