Fixed scrolltop and added variable to .json