minimap for any dom element is added, partially tested