Adjustment to cursor hiding

removed style from style.css, changed to class, and added it to lib.js