styling and click event