updated pattern display time
fixed background offset