fixed synapse text margin issue with changes in window width