loading three-d on click instead of page load