Use $.offset() to work out required truncation