timed bar movement perfectly