Fix markdown/preview tab for mobile

Fixes #3813

- Add togglePreview action to controller
- Implement action and bind attributes
- Remove the now pointless
- Update to comply with issue suggestions
Merge pull request #3830 from wjake/issue-3813

Fix editor markdown tab