[TIMOB-17135] Fixed Ti.Mdia.PhotoGallery
[TIMOB-17135] Removed dead code
Merge pull request #265 from pec1985/timob-17135

[TIMOB-17135] Fixed Ti.Media.PhotoGallery