Added a function for increasing frame size