Find the centre of gravity of a webpage