Tons of bug fixes and new functionnalities

1) Use Reflection to set embedded tab on tablets in portrait mode (seems
to be the only way)
2) keep track of the selected tab and save it
The tablet navigation is still very broken