home slide text overlay logic