added event.preventDefault() to the line spacer decrease button