changed positioning from percentage to px