Update photo.js

Fix that automatic find the width of your window