Fixed typo with -/+ symbols in resize function.