Change 1: Made icon toggle.
Change 2: Added a CSS style for change 1 to work.