It forms a loop line around the center of London on the north side of the River Thames . It forms a loop line around the center of London on the north side of the River Thames with , since 13 December 2009 , an extension to Hammersmith on its north-western side .