working on the right rail layout