fixed demo site and modified .getOffset to continue traversing up the tree to get the correct positioning, this is necessary in more than 1 level of nested html structure