add jquery handlers for buttons to toggle partials