hidden tab is implemented, however it is very very messy!  I've commented below in parts of interest.