hide api on small devices