implemented a smart zoom. ATTENTION deactivated the fixed legend (tbd by therter ;-) )