I changed the function of the dynamic buttons and made them dependend on the new size of the axes. after that i changed there 'units' to 'normalized' so that they will resize too.
But if somebody has a better solution, he can tell me :)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!