Update panFromEdge to an enum type REPanDirection to allow panFromEdge & panFromEverywhere

Update an enum value name