moved positioning from bottom to top to resolve white border in all instances