added zoom/translate capability; fixed firefox and safari problems