Bug 835193 - sleep time for preview of images and videos from filmstrip. r=daleharvey

updated code as per coding standards
updated as per naming convention