improved layout and added color transition based on speed variable