removed shadow. fixed right panel disappearing
added events (on close). reduced preview size