mining, complete rework

No more use the layout to determine the zoom area
Works on Android now.