Resize html grid