rearranging tabs and setting correct highlights for sub-views - 1022645