change photos subtitle when number of photos equals to max number of photos.
refactor left panel visible width