adding changes for adjusting fonts on zooming in and out