diff --git a/templates/faces.html b/templates/faces.html
index 3dca42f..564d324 100644
--- a/templates/faces.html
+++ b/templates/faces.html
@@ -17,12 +17,12 @@
fig_{{f.id}}=$('#fig_{{f.id}}')
// store this stuff in an javascript Object to use when document is ready event is triggered
var orig_face_{{f.id}}=new Object;
- orig_face_{{f.id}}.x = (({{f.tmp_locn[1]}}*1.05 - {{f.tmp_locn[3]}}*.95) - {{f.w}}) / 2
- orig_face_{{f.id}}.y = (({{f.tmp_locn[2]}}*1.05 - {{f.tmp_locn[0]}}*.95) - {{f.h}}) / 2
+ orig_face_{{f.id}}.x = (({{f.face_right}}*1.05 - {{f.face_left}}*.95) - {{f.w}}) / 2
+ orig_face_{{f.id}}.y = (({{f.face_bottom}}*1.05 - {{f.face_top}}*.95) - {{f.h}}) / 2
orig_face_{{f.id}}.w = {{f.w}}
orig_face_{{f.id}}.h = {{f.h}}
- orig_face_{{f.id}}.orig_w = {{f.tmp_locn[1]}}*1.05 - {{f.tmp_locn[3]}}*.95
- orig_face_{{f.id}}.orig_h = {{f.tmp_locn[2]}}*1.05 - {{f.tmp_locn[0]}}*.95
+ orig_face_{{f.id}}.orig_w = {{f.face_right}}*1.05 - {{f.face_left}}*.95
+ orig_face_{{f.id}}.orig_h = {{f.face_bottom}}*1.05 - {{f.face_top}}*.95
//console.log( orig_face_{{f.id}} )