add scrollbar to div if overflow from window code example
Example: css show scrollbar if overflow
/*You can automatically show a scrollbar IF there is overflow with this: */
body {
overflow:auto;
}
/*If you want to always show a scrollbar, use this: */
body {
overflow:scroll;
}