fixed annoying bug with left resizing