refactored slide notification and content handling