updated pagination in firefox