implemented info window show and hide