added verticalOffset and parentSelector options