Manage rotation reset

This is a new approach to manage the rotation reset.
I tried to follow the KISS principle. 
I'm not particularly proud of the code, but since we don't have access to the control, we need to workaround and work with HTML elements.