orientation change bugfixes and some more tab layout