Added rect with percentage values
updated save file of the positions of pointer and rect