stopping jitter on page refresh