change the dimension switching to a single button and fix header location in 3-D