allow left and right views to be set