Added responsiveness and fixed the click event.