fix some schange problem
use hw to view photo, close hw acc when photo is too large