refactor photo scroll view; add max scale, content type and min content type