adding quiz layer display
Adding logic for quiz