In current implementation, the checked tab look a bit disconnected from the relative notebook. This small rework let the active tab looks like it is continuation of the relative tab.