iOS8 fixed scrolling lag and added permission checking