cleanup js and fix toggle functions
fix toggle link
Adjust view and templates for mobile