adding a floating top and bottom so there is always a border