Switch to using lodash #find instead of for loop to locate first widget on this line.
Use toggleLineDetails instead of showLineDetails, move hide/show logic out of showLineDetails.