4. Detail View/URL support

- fix closing of overlay
- fix arrow on first and last page