fixing mobile renderign