adjusting screenshot dimensions