scaling fix for sections and thumbnail demo