Removed custom latex script and fixed scrolling