fixed background color updating and horizontal vs vertical