Finished, with backgrounds and right positioning for the first and the last element