Update details script to allow for enter key to trigger panel open/close