add active_tab param and only render relevant partial