working example of accelerometer xyz display in UI