Hide info panel when not visible