added center and right element styling