add pan expand closes #77