Mock orange bush

I have what I think is a mock orange – quite large deep green leaf and small white cluster bloom. My question is, it is doing great but has become very leggy and is hanging all over what is planted…