working dynamic survey layout for survey app