How to create dynamic tab with dynamic width and height using jquery javascript css and hmtl