Changed functionality to change window at 2 sizes. Small size(2/3 of screen) and big size(hole screen).