Adding support for ViewLocationExpanders to allow modifying view locations

Fixes #1039
remove the trademark lines for samples