Limit the reference axes display to the visible components and improved the switch between partial views