clean up code for facetzoom