made single pic view dynamic