implementing scene stop and duration