more specific if statement for ctnr switching when in detail view.
Merge https://github.com/ngokevin/chili