Updated compass, accel with pagehide event. added geolaction config