show hide layer buttons if too small