Made all of the program Variable to window size.

Thank you @wazy for suggestion