fixed div ending for middle