Resize Functionality added