click on component to change size