updated UI included js for autoscroll