implemented an action listener clasw for the tilting buttons - not finished