Added tilt support for compass button.