Refactoring: extract onclick listener out of rolling menu
Finish documentation