closing browser maximize/enlarge button resize bug