Added visibility logic to pointer object

Added visible attribute to Pointer object
Added show method to show the pointer (only if its not visible)
Added hide method to hide the pointer (again, only if its visible)
Updated test html page

Also added logic in Pointer.draw function to only draw when
Pointer.visible is set to true