Made initial value for width show up
Implemented distance changing