fix resizing issue for Nerd_Tree and switch tabs