Added check to see if the addDirectoryButton falls within the confines of the resized form if it previously was outside it