Updated the "toggle" function as well as created editParty function

Completely redid the toggleScreen function to play nice with the new
edit and delete links (didn't cooperate before) as well as a created a
function to dynamically populate the input fields with the already
stored data when the user clicks the edit link.