refactor slide rendering