control layer positioning on panel toggle in compoundDetailView