Made title more dynamic. Will not add separation bar if no title given.