added code to reset and count, aslo modified css for proper view in linux web browser firefox