Part 1 of Minimize Functionality Added to Glass