fixing layout and disappearing bottom border on box