Added the ability to set a threshold for opening the back view, and fixed some problems with the elasticity algorithm.