Implementation of an accordion menu for Titanium apps