more precise vertical slides detection (to allow usage of sections insid...

...e slides)