I added this functionality in the preview-gallery controller when receive blur event.
https://github.com/hyunacho/gaia/commit/15bd71aad1331e7204e7c07db64ff2eae2ae4662#diff-751671ea05b4f48a012d73b1e75f3d0fR283