updated off-canvas sample that works on iOS6 and AB.