add action bar; get gyroscope working