some changes in pretty photo for adding share button