made tick working
add margin to image