allow hiding/showing of mouse cursor