Also, added an animation to show/hide the webcam.
This allows cleaner and more expressive code, especially regarding whether the webcam should be on or off.