Fix css

Fix preview/source switching
Add #switch button styling
Refactor code

Add preview/source switching
Add automatic scrolling to preview
Add method "new" for creating notes
Update "add" and "remove" methods to update html
Update method "open" to use note id (time)