scaling in motion detect module