there is an issue with the zposition of flips, i added in a fail safe where you cannot flip two pages while one flip is currently still flipping up
fixed bug with forst or last page updating the static layer incorrectly