Improve mobile version

Add automatic edit mode switching
Make title uneditable if not in edit mode