mouseController moved outside constructor
removed deprecated css rules