Reverse list in given bounds