bunch of auto reset stuff when swapping between page 1 and 2 on material page