Fixes to make the checkbox work in the diary

Improve positioning too.
Bugfixes, finish mobile support for diary - fixes #5