moved loading class for shared URL to parent div - will give greater flexibility