more precise vertical slides detection (to allow usage of sections inside slides)