Added font resizing functionality