added ruler view class