setting svg width from diorama view div element