moved attachment link to the sidbar and refactored questionnaire view index