added refresh to pictures with refresh animation