The toggle animation is a design pattern often employed in most modern web design. This can be found on most websites, like Twitter or Facebook. The reason why it has become so popular is that it gives the user an easy way to interact with the website.