fix time-lapse bar
move loop code in room.loop