revamping window for100% html