added possibility for light curves to be in a seperate tab