encapsulate slides css