mojo: Add panel detection