Added support for pencentage values in positionFromTop