implemented .totalHeight() function for the plugin
implemented test cases for .totalHeight()
modified readme for totalHeight()