show metadevice info in device_info, simplify sidebar handling