fix scroll not working when coming from preferences activity