removed footer and wrapper in motion detection preloaded