fix preview pane styling
move slugify to utils
fix editor select/deselect behaviour