From https://github.com/Wixel/jquery-popdown