sleep time for preview of images and videos from filmstrip

updated code as per coding standards
updated as per naming convention