move tooltip div declatration up so it can be referenced as before