add layout for edge detection panel