add different browser support and dont hide div again if already clicked into view