fix way to get offset for firefox