Resize and position the button