referencveview edittoolbar definition: Fixed $container length detection

Change-Id: Icfcdf2a79585ff65807c816e6ad42076d4e4888f
Merge "referencveview edittoolbar definition: Fixed $container length detection"