moved line & pin to appear on button click