set display: none when tip is hidden