added abilty to change detail view of panel