Simplified split_panel loop