add jquery handlers for buttons to toggle partials
Merge pull request #36 from GilUpstream/issue35

add jquery handlers for buttons to toggle partials