Function to combine settings frame with 3d view