my own modification to SlidingMenu for integration in Titanium mobile. Useful for future merges