clicking and show working for Markers and Windows