Replaced text distance from middle with a percentage in order to accomodate various screen sizes