Improve page performance
	Change most of the code that was triggering unnecessary reflow and repaint