split sb_view from sb_main.