Added a skeleton function for the changing of button size when resizing the window size.