text moves too on resize
various improvements
blocking left and right resize, small renaming of variables