added scroll-bars if necessary