Changing for the last code from disponible branchs.

Based on https://github.com/Rolzad73/eclipse-minimap-view/blob/d24d4b3dee8479c5a49d1143fa77eb52cbee708f/com.pauzies.minimap/src/com/pauzies/minimap/views/MiniMapView.java.