added mouse visibility