fix viewer max-width