added option to adjust caret size