file download implemented

files can now be downloaded. Also fixed the position of the plot, so it
scroll with the page.