added minimize js function that reduces window back to size, added z-index function so domimiate window is on top, still buggy