Made the layout display the current acceleration