Originally designed by Brian Scheirer of the CrackBerry team. I have now optimized this to be almost one to one identical to BB10 Cascades's own implementation of the tab navigation.