Few fixes and autoscroll to right when width of svg is changed