used a dirty method to fix firefox positioning