refined viewAlbum.js and fixed bug that deleting photos will cause album to lose cover