added max-height css for smaller screens
fixed the force directed graph bug. now it keeps nodes on the screen and spaces them out better